﻿1857.1.1 = {
	capital = 305

	oob = "ECU_1857"
	set_naval_oob = "ECU_1857_naval_mtg"

	set_convoys = 0

	set_research_slots = 2
	add_equipment_to_stockpile = { type = infantry_equipment_rifle_0 amount = 1000 producer = ECU }
	add_equipment_to_stockpile = { type = uniform_equipment_0 amount = 1000 producer = ECU }


	### Economy
    add_ideas = generic_unemployment_idea
    set_variable = { unemployment_value_modifier = 0.1 }
    set_variable = { current_unemployment = 0.05 }
    clamp_variable = {
        var = current_unemployment
        min = 0
        max = 1
    }
    update_unemployment_modifier = yes
    add_to_variable = { money = 0.01 }
	set_variable = { current_loans_sum = 4 }
	
	add_ideas = {
		#POLITICS

		#hos_is_leader
		pre_industrial_era
		agrarian
                doctrine_napoleonic_army_1
		#non_monarchical_system
		#presidential_republic

		civilian_economy
		limited_exports
		army_spending_level_2
		taxation_level_1
	cl_legal

		#stagnation_growth
		border_control
	limited_conscription
		segregation
		parliamentary_suffrage

		#constitution_adopted
		limited_elections

		privileged_education
		state_religion
		#religion_catholic

	 social_spending_level_1
		law_spending_level_4
		road_spending_level_1
		navy_spending_level_1
		research_spending_level_1

				 #NATIONAL SPIRITS
	}

	set_politics = {
		ruling_party = centrism
}

set_popularities = {
		anarchism = 0
		ideology_social_liberalism = 0
		ideology_radical_socialism = 0
		social_egalitarianism = 0
		centrism = 42
		traditional_conservatism = 31
		radical_democracy = 0
		chauvinist_populism = 20
		autocracy = 7
		fundamentalism = 0
}

		set_cosmetic_tag = ECU_1857

	set_technology = {
	infantry_weapons = 1 traditional_mixed_arms = 1
	tribal_carrier_birds = 1 tribal_electrical_theory = 1
	tribal_steel_tools = 1
	tribal_tatics = 1
	tribal_gunpowder = 1
	tribal_riding = 1
	tribal_steam_experiments = 1
	tribal_forging = 1
	tribal_artisan = 1
	tribal_chemistry = 1
	tribal_guilds_trade = 1
	tribal_crop_planting = 1
	tribal_irrigation = 1
	tribal_crop_rotation = 1
	tribal_salted_smoked_goods = 1
	tribal_leching = 1
	start_build_tech = 1
	tech_infantry_napoleonic_uniform = 1
	tech_naval_corvette = 1
		tech_naval_mtg_24_pounder_battery = 1
		tech_naval_mtg_sails = 1
		tech_naval_mtg_crows_nest = 1
	}

	set_grand_doctrine = grand_doctrine_napoleonic_era
	set_sub_doctrine = napoleonic_light_cavalry_doctrine
	add_mastery = {
		amount = 100
		sub_doctrine = napoleonic_light_cavalry_doctrine
	}
	set_sub_doctrine = napoleonic_conservative_doctrine
	add_mastery = {
		amount = 50
		sub_doctrine = napoleonic_conservative_doctrine
	}

	ECU = {
		#Ecuador's National Debt amounts to 19m Dollars (= 3.95m Pound Sterling) as of 1856; income per year 1.4m Dollar (= 0.285m Pound Sterling) = 13.86 GDP of debt
		add_to_variable = {var = SPR_debt_repayments_level value = 12}
		set_country_flag = SPR_paying_debt_interest_flag
	}

	# POLITICAL LEADERS

	#create_country_leader = {
	#	name = "Francisco Robles"
	#	desc = "POLITICS_TEMP_DESC"
	#	picture = "Portrait_ECU_Francisco_Robles.png"
	#	expire = 1865.4.2
	#	ideology = conserv_liberal
	#}
#create_corps_commander ={
#	name = "Francisco Robles"
#	picture = "Portrait_ECU_Francisco_Robles.png"
#	traits = { }
#	skill = 2
#	attack_skill = 1
#	defense_skill = 1
#	planning_skill = 1
#	logistics_skill = 1
#}
recruit_character = ECU_Francisco_Robles

	#create_country_leader = {
	#	name = "Gabriel Garcia Moreno"
	#	desc = "POLITICS_TEMP_DESC"
	#	picture = "Portrait_ECU_Gabriel_Garcia_Moreno.png"
	#	expire = 1870.1.1
	#	ideology = conserv
	#}
	recruit_character = ECU_Gabriel_Garcia_Moreno


#create_corps_commander ={
#	name = "Guillermo Franco"
#	picture = "Portrait_ECU_Guillermo_Herrera.png"
#	traits = { }
#	skill = 2
#	attack_skill = 1
#	defense_skill = 1
#	planning_skill = 1
#	logistics_skill = 1
#}
recruit_character = ECU_Guillermo_Herrera

	create_equipment_variant = {
		name = "Corvette Class"
		type = ship_hull_corvette_0
		name_group = GER_CA_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_cannon_battery_0
			fixed_ship_fire_control_system_slot = fire_control_system_0
			fixed_ship_engine_slot = ship_engine_sail_0
			fixed_ship_armor_slot = empty
			mid_1_custom_slot = empty
			front_1_custom_slot = empty
		}
	}
}

#1867.5.23 = {
#	create_country_leader = {
#		name = "Jerónimo Carrión"
#		desc = "POLITICS_OSPINA_DESC"
#		picture = "Portrait_ECU_Jeronimo_Carrion.png"
#		expire = "1864.4.8"
#		ideology = conserv
#	}
#}


#1869.1.19 = {
#	create_country_leader = {
#		name = "Gabriel Garcia Moreno"
#		desc = "POLITICS_TEMP_DESC"
#		picture = "Portrait_ECU_Gabriel_Garcia_Moreno.png"
#		expire = 1875.1.1
#		ideology = conserv
#	}
#}
